package com.ifnk.portaljava.hlyt.dao;

import com.ifnk.portaljava.hlyt.beans.RolePermission;

import java.sql.Connection;
import java.util.List;

public interface IRolePermissionJdbcDao {

	void deleteByModuleId(int moduleId, Connection conn) throws Exception;

	void save(RolePermission rp, int roleId, Connection conn) throws Exception;

	void deleteByRoleId(int roleId, Connection conn) throws Exception;

	List<RolePermission> findByRoleId(int roleId) throws Exception;

	List<RolePermission> findByRoleIdList(String roleIdString) throws Exception;

}
